package com.qf.sy2103.fmmall.service.job;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class PrintHelloWorldJob {

    @Scheduled(cron = "0/3 * * * * ?")
    public void printHelloWorld(){
        System.out.println("----hello world.");
    }

}
